package com.example.sw.myappmoban.Bean;

import org.litepal.LitePal;
import org.litepal.crud.LitePalSupport;

public class User extends LitePalSupport {
    private int id;
    private String username;
    private String password;

    public User() {

    }
    // 1.ban右键 new folder 到 Ass fold 创建 litepal.xml
    // 2.new pageck bean user

    // 3.alt insert 第一个不选 第一个全选 第四个全选
    public User(int id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
